package week_03.LinkList;

@SuppressWarnings("all")
public class LinklistTest {
    public static void main(String[] args) throws Exception {
        LinkList<String> s1 = new LinkList<>();
//        s1.insert("yaoming");
        s1.insert("a");
        s1.insert("c");
        s1.insert("d");
        s1.insert("e");
        s1.insert("f");
        s1.insert("g");
        s1.insert(2,"h");
        for (int i=0;i<s1.length();i++){
            System.out.println(s1.get(i));
        }

    }
}
